package com.wf.configTest;

import com.wf.domain.User;
import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Component;

/**
 * @author mpk
 * @since 2024/8/21 23:21:54
 */
@Component
public class ConfigTest {


    @Bean
    public User getName(){
        User user = new User();
        user.setAge(1);
        user.setName("mpk");
        user.setPwd("123456");
        return  user;
    }


}
